package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 批次换脸对象 swap_face_batch
 * 
 * @author ruoyi
 * @date 2024-09-27
 */
public class SwapFaceBatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 批次id */
    private Long batchId;

    /** 手机 */
    @Excel(name = "手机")
    private String phone;

    /** 源图片 */
    @Excel(name = "源图片")
    private String sourcePic;

    /** 图片md5 */
    @Excel(name = "图片md5")
    private String sourcePicMd5;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 数量 */
    @Excel(name = "数量")
    private Long total;

    /** 进度 */
    @Excel(name = "进度")
    private Long progress;

    /** 失败数量 */
    @Excel(name = "失败数量")
    private Long failed;

    /** 成功数量 */
    @Excel(name = "成功数量")
    private Long success;

    /** zip文件路径 */
    @Excel(name = "zip文件路径")
    private String zipUrl;

    public void setBatchId(Long batchId) 
    {
        this.batchId = batchId;
    }

    public Long getBatchId() 
    {
        return batchId;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSourcePic(String sourcePic) 
    {
        this.sourcePic = sourcePic;
    }

    public String getSourcePic() 
    {
        return sourcePic;
    }
    public void setSourcePicMd5(String sourcePicMd5) 
    {
        this.sourcePicMd5 = sourcePicMd5;
    }

    public String getSourcePicMd5() 
    {
        return sourcePicMd5;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setTotal(Long total) 
    {
        this.total = total;
    }

    public Long getTotal() 
    {
        return total;
    }
    public void setProgress(Long progress) 
    {
        this.progress = progress;
    }

    public Long getProgress() 
    {
        return progress;
    }
    public void setFailed(Long failed) 
    {
        this.failed = failed;
    }

    public Long getFailed() 
    {
        return failed;
    }
    public void setSuccess(Long success) 
    {
        this.success = success;
    }

    public Long getSuccess() 
    {
        return success;
    }
    public void setZipUrl(String zipUrl) 
    {
        this.zipUrl = zipUrl;
    }

    public String getZipUrl() 
    {
        return zipUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("batchId", getBatchId())
            .append("phone", getPhone())
            .append("sourcePic", getSourcePic())
            .append("sourcePicMd5", getSourcePicMd5())
            .append("gender", getGender())
            .append("total", getTotal())
            .append("progress", getProgress())
            .append("failed", getFailed())
            .append("success", getSuccess())
            .append("zipUrl", getZipUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
